package com.yida.gwj.vote.outside.domain;

import com.yida.common.core.annotation.Excel;
import com.yida.common.core.web.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author lqq
 * @date 2023-03-10
 */
@ApiModel("投票模板对象实体")
public class GwjVoteTemplate extends BaseEntity {
	private static final long serialVersionUID = 1L;

	@ApiModelProperty("投票模板ID")
	private Long templateId;

	@ApiModelProperty("投票模板json")
	@Excel(name = "投票模板json")
	private String templateJson;

	@ApiModelProperty("投票项目ID")
	@Excel(name = "投票项目ID")
	private Long voteId;

	public void setTemplateId(Long templateId) {
		this.templateId = templateId;
	}

	public Long getTemplateId() {
		return templateId;
	}

	public void setTemplateJson(String templateJson) {
		this.templateJson = templateJson;
	}

	public String getTemplateJson() {
		return templateJson;
	}

	public void setVoteId(Long voteId) {
		this.voteId = voteId;
	}

	public Long getVoteId() {
		return voteId;
	}

	@Override
	public String toString() {
		final StringBuffer sb = new StringBuffer("VoteTemplate{");
		sb.append("templateId=").append(templateId);
		sb.append(", templateJson='").append(templateJson).append('\'');
		sb.append(", voteId=").append(voteId);
		sb.append('}');
		return sb.toString();
	}
}
